const { errorMonitor } = require("events")

const response = {
  ok:(data) => {
    return{
        code:200,
        msg:'ok',
        data:data
    }
  },
  error:(code,error) => {
   return{
    code:code,
    msg:error
   }
}
}
module.exports = response